using System;
using System.Collections.Generic;

#if WINDOWS_PHONE71
using Microsoft.Phone.BackgroundTransfer;

namespace WindowsPhoneEssentials.Abstractions
{
    public class BackgroundTransferServiceWrapper
    {
        public IEnumerable<BackgroundTransferRequest> Requests
        {
            get { return BackgroundTransferService.Requests; }
        }

        public BackgroundTransferRequest Find(string requestId)
        {
            return BackgroundTransferService.Find(requestId);
        }

        public void Add(BackgroundTransferRequest request)
        {
            BackgroundTransferService.Add(request);
        }

        public void Remove(BackgroundTransferRequest request)
        {
            BackgroundTransferService.Remove(request);
        }
    }
}
#endif